<!doctype html>
<html class="x-admin-sm">
	<head>
		<meta charset="UTF-8">
		<title>后台登录-X-admin2.2</title>
		<meta name="renderer" content="webkit|ie-comp|ie-stand">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
		<meta http-equiv="Cache-Control" content="no-siteapp" />
		<link rel="stylesheet" href="./css/font.css">
		<link rel="stylesheet" href="./css/xadmin.css">
		<link rel="stylesheet" href="./css/theme3212.min.css">
		<script src="./lib/layui/layui.js" charset="utf-8"></script>
		<script type="text/javascript" src="./js/xadmin.js"></script>
		<script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
		<script src="js/base.js" type="text/javascript" charset="utf-8"></script>
		<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.1.8/vue.min.js" type="text/javascript" charset="utf-8"></script>
		<!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
		<!--[if lt IE 9]>
          <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
          <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
		<script>
			// 是否开启刷新记忆tab功能
			// var is_remember = false;
		</script>
	</head>
	<body class="index">
		<!-- 顶部开始 -->
		<div class="container">
			<div class="logo" >
				<!-- <img src="images/logo.png" style="width: 220px;height: 60px;" /> -->
				<a href="./index.html">华思维医院管理系统</a>
			</div>
			<div class="left_open">
				<a><i title="展开左侧栏" class="iconfont">&#xe699;</i></a>
			</div>
			<ul class="layui-nav left fast-add" lay-filter="">
				<li class="layui-nav-item">
					<!-- <a href="javascript:;">+新增</a> -->
					<dl class="layui-nav-child">
						<!-- 二级菜单 -->
						<dd>
							<a onclick="xadmin.open('最大化','http://www.baidu.com','','',true)">
								<i class="iconfont">&#xe6a2;</i>弹出最大化</a></dd>
						<dd>
							<a onclick="xadmin.open('弹出自动宽高','http://www.baidu.com')">
								<i class="iconfont">&#xe6a8;</i>弹出自动宽高</a></dd>
						<dd>
							<a onclick="xadmin.open('弹出指定宽高','http://www.baidu.com',500,300)">
								<i class="iconfont">&#xe6a8;</i>弹出指定宽高</a></dd>
						<dd>
							<a onclick="xadmin.add_tab('在tab打开','member-list.html')">
								<i class="iconfont">&#xe6b8;</i>在tab打开</a></dd>
						<dd>
							<a onclick="xadmin.add_tab('在tab打开刷新','member-del.html',true)">
								<i class="iconfont">&#xe6b8;</i>在tab打开刷新</a></dd>
					</dl>
				</li>
			</ul>
			<ul class="layui-nav right" lay-filter="">
				<li class="layui-nav-item">
					<a href="javascript:;" id="username">admin</a>
					<dl class="layui-nav-child">
						<!-- 二级菜单 -->
						<dd>
							<a onclick="xadmin.open('修改密码','/X-admin/html/Editpassword/index.html',400,400)">修改密码</a></dd>
						
						<dd>
							<a onclick="logout()">注销</a></dd>
					</dl>
				</li>
				<li class="layui-nav-item to-index">
					<a href="/">前台首页</a></li>
			</ul>
		</div>
		<!-- 顶部结束 -->
		<!-- 中部开始 -->
		<!-- 左侧菜单开始 -->
		<div class="left-nav">
			<div id="side-nav">
				<ul id="nav">
					<li id="基础设置">
						<a href="javascript:;">
							<i class="iconfont left-nav-li layui-icon layui-icon-set" lay-tips="基础设置"></i>
							<cite>基础设置</cite>
							<i class="iconfont nav_right">&#xe697;</i>
						</a>
						<ul class="sub-menu">
							<li id="绩效科室设置">
								<a onclick="xadmin.add_tab('绩效科室设置','/X-admin/html/Jixiaokeshishezhi/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>绩效科室设置</cite>
								</a>
							</li>
							<li id="绩效科室备份">
								<a onclick="xadmin.add_tab('绩效科室备份','/X-admin/html/Jixiaokeshibeifen/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>绩效科室备份</cite>
								</a>
							</li>
							
							<li id="绩效算法设置">
								<a onclick="xadmin.add_tab('绩效算法设置','/X-admin/html/Jixiaosuanfashezhi/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>绩效算法设置</cite>
								</a>
							</li>
							<li id="收入归集设置">
								<a onclick="xadmin.add_tab('收入归集设置','/X-admin/html/Shourufentanshezhi/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>收入归集设置</cite>
								</a>
							</li>
							<li id="特殊收入归集设置">
								<a onclick="xadmin.add_tab('特殊收入归集设置','/X-admin/html/Teshushouru/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>特殊收入归集设置</cite>
								</a>
							</li>
							<li id="成本归集设置">
								<a onclick="xadmin.add_tab('成本归集设置','/X-admin/html/Chengbenxiangmushezhi/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>成本归集设置</cite>
								</a>
							</li>
							<li id="成本录入">
								<a onclick="xadmin.add_tab('成本录入','/X-admin/html/Chengbenluru/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>成本录入</cite>
								</a>
							</li>
							<!-- <li>
								<a onclick="xadmin.add_tab('成本提取','/X-admin/html/Chengbentiqu/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>成本提取</cite>
								</a>
							</li> -->
							<li id="人员调整">
								<a onclick="xadmin.add_tab('人员调整','/X-admin/html/Renyuantiaozheng/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>人员调整</cite>
								</a>
							</li>
							<li id="绩效人员设置">
								<a onclick="xadmin.add_tab('绩效人员设置','/X-admin/html/Jixiaorenyuanshezhi/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>绩效人员设置</cite>
								</a>
							</li>
							<li id="单项奖惩录入">
								<a onclick="xadmin.add_tab('单项奖惩录入','/X-admin/html/Danxiangchengjieluru/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>单项奖惩录入</cite>
								</a>
							</li>
							<li id="指标集设置">
								<a onclick="xadmin.add_tab('KPI指标集设置','/X-admin/html/Kpizhibiaoshezhi/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>KPI指标集设置</cite>
								</a>
							</li>
							<li id="工作量点数设置">
								<a onclick="xadmin.add_tab('工作量点数设置','/X-admin/html/Gongzuoliangshezhi/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>工作量点数设置</cite>
								</a>
							</li>
							<li id="特殊工作量点数设置">
								<a onclick="xadmin.add_tab('特殊工作量点数设置','/X-admin/html/TeshuGongzuoliang/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>特殊工作量点数设置</cite>
								</a>
							</li>
							<li id="其他绩效相关设置">
								<a onclick="xadmin.add_tab('其他绩效相关设置','/X-admin/html/Qitajixiaoshezhi/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>其他绩效相关设置</cite>
								</a>
							</li>
							<li id="指标维护">
								<a onclick="xadmin.add_tab('指标维护','/X-admin/html/Zhibiaoweihu/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>指标维护</cite>
								</a>
							</li>
							<li id="绩效指标顺序">
								<a onclick="xadmin.add_tab('绩效指标顺序','/X-admin/html/Jixiaozhibiao/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>绩效指标顺序</cite>
								</a>
							</li>
							<li id="核算科室">
								<a onclick="xadmin.add_tab('核算科室kpi设置','/X-admin/html/Keshikpikaohe/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>核算科室kpi设置</cite>
								</a>
							</li>
						</ul>
					</li>
					
					<li id="科室绩效">
						<a href="javascript:;">
							<i class="iconfont left-nav-li" lay-tips="科室绩效">&#xe6b8;</i>
							<cite>科室绩效</cite>
							<i class="iconfont nav_right">&#xe697;</i></a>
						<ul class="sub-menu">
							<li id="绩效生成">
								<a onclick="xadmin.add_tab('绩效生成','/X-admin/html/Jixiaoshengcheng/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>绩效生成</cite>
								</a>
							</li>
							<li id="绩效查看">
								<a onclick="xadmin.add_tab('绩效查看','/X-admin/html/Jixiaoshenhe/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>绩效查看</cite>
								</a>
							</li>
							
							<!-- <li>
								<a onclick="xadmin.add_tab('绩效归档','/X-admin/html/Jixiaoguidang/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>绩效归档</cite>
								</a>
							</li>
							<li>
								<a onclick="xadmin.add_tab('二次分配上报查询','/X-admin/html/Fenpeishangbao/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>二次分配上报查询</cite>
								</a>
							</li>
							<li>
								<a onclick="xadmin.add_tab('科室绩效查询','/X-admin/html/Keshijixiaochaxun/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>科室绩效查询</cite>
								</a>
							</li>
							<li>
								<a onclick="xadmin.add_tab('全院人员绩效查询','/X-admin/html/Renyuanjixiaochaxun/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>全院人员绩效查询</cite>
								</a>
							</li> -->
							
						</ul>
					</li>
					
					<li id="报表系统">
						<a href="javascript:;">
							<i class="iconfont layui-icon left-nav-li layui-icon-chart" lay-tips="报表系统"></i>
							<cite>报表系统</cite>
							<i class="iconfont nav_right">&#xe697;</i></a>
						<ul class="sub-menu">
							<li id="his原始报表查询">
								<a onclick="xadmin.add_tab('his原始报表查询','/X-admin/html/Hischaxun/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>his原始报表查询</cite>
								</a>
							</li>
							<li id="核算科室收入查询">
								<a onclick="xadmin.add_tab('核算科室收入查询','/X-admin/html/Keshikaidanchaxun/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>核算科室收入查询</cite>
								</a>
							</li>
							
							<!-- <li>
								<a onclick="xadmin.add_tab('核算科室执行收入查询','/X-admin/html/Keshizhixingchaxun/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>核算科室执行收入查询</cite>
								</a>
							</li> -->
							<li id="患者费用明细查询">
								<a onclick="xadmin.add_tab('患者费用明细查询','/X-admin/html/Keshibingrenfeiyong/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>患者费用明细查询</cite>
								</a>
							</li>
							<li id="医生工作量统计">
								<a onclick="xadmin.add_tab('医生工作量统计(按开单)','/X-admin/html/Keshiyishengshouru/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>医生工作量统计(按开单)</cite>
								</a>
							</li>
							<li id="核算科室成本明细查询">
								<a onclick="xadmin.add_tab('核算科室成本明细查询','/X-admin/html/Keshichengbenmingxi/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>核算科室成本明细查询</cite>
								</a>
							</li>
							<li id="核算科室收入明细查询">
								<a onclick="xadmin.add_tab('核算科室收入明细查询','/X-admin/html/Hesuankeshishouru/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>核算科室收入明细查询</cite>
								</a>
							</li>
							<li id="核算科室成本总额查询">
								<a onclick="xadmin.add_tab('核算科室成本总额查询','/X-admin/html/Keshichengbenzonge/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>核算科室成本总额查询</cite>
								</a>
							</li>
							
							<li id="核算科室kpi考核报表">
								<a onclick="xadmin.add_tab('核算科室kpi考核报表','/X-admin/html/Keshikaohebaobiao/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>核算科室kpi考核报表</cite>
								</a>
							</li>
						</ul>
					</li>
					<li id="系统设置">
						<a href="javascript:;">
							<i class="iconfont layui-icon left-nav-li layui-icon-chart" lay-tips="系统设置"></i>
							<cite>系统设置</cite>
							<i class="iconfont nav_right">&#xe697;</i>
							</a>
						<ul class="sub-menu">
							
							<li id="管理员设置">
								<a onclick="xadmin.add_tab('管理员设置','/X-admin/html/Manage_setting/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>管理员设置</cite>
								</a>
							</li>
							<li id="角色管理">
								<a onclick="xadmin.add_tab('角色管理','/X-admin/html/Role_setting/index.html')">
									<i class="iconfont">&#xe6a7;</i>
									<cite>角色管理</cite>
								</a>
							</li>
							
						</ul>
					</li>
				</ul>
			</div>
		</div>
		<!-- <div class="x-slide_left"></div> -->
		<!-- 左侧菜单结束 -->
		<!-- 右侧主体开始 -->
		<div class="page-content">
			<div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
				<ul class="layui-tab-title">
					<li class="home">
						<i class="layui-icon">&#xe68e;</i>我的桌面</li>
				</ul>
				<div class="layui-unselect layui-form-select layui-form-selected" id="tab_right">
					<dl>
						<dd data-type="this">关闭当前</dd>
						<dd data-type="other">关闭其它</dd>
						<dd data-type="all">关闭全部</dd>
					</dl>
				</div>
				<div class="layui-tab-content">
					<div class="layui-tab-item layui-show">
						<iframe src='./welcome.html' frameborder="0" scrolling="yes" class="x-iframe"></iframe>
					</div>
				</div>
				<div id="tab_show"></div>
			</div>
		</div>
		<div class="page-content-bg"></div>
		<style id="theme_style"></style>
		<!-- 右侧主体结束 -->
		<!-- 中部结束 -->
		<script>
			$("#username").val(sessionStorage.getItem("admin_username"));
			
			var list = [];
			$.post(root + "Role/get_user_role_menu_list", {
					
					role_id:sessionStorage.getItem("admin_role_id")
				
				},
				function(data) {
					list = data.data;
					
					sessionStorage.setItem("role_list",JSON.stringify(list));
					
					check_menu_list(list);
				}
			);
			
			
			function check_menu_list(list)
			{
				// $("#nav li").hide();
				for(var i = 0 ; i < list.length ; i++)
				{
					if(list[i].col_id == 1)
					{
						$("#"+list[i].menu_name).show();
						$("#"+list[i].p_menu_name).show();
					}
				}
			}
			
			if(get_filename() == 'index.html')
			{
				if(sessionStorage.getItem('admin_uuid') == null || sessionStorage.getItem('admin_uuid') == undefined)
				{
					sessionStorage.clear();
					window.location.href = "login.html";
				}
			}
			
		</script>
	</body>

</html>
